|
|
|
|
|
|
|
Figure 18.3.
The three mode buttonsStart, Break, and Endon the standard toolbar
gives you quick access to control the testing process of the application. |
|
|
|
|
|
|
|
|
One or more of these buttons will be available depending on whether Visual Basic is in Run, Design, or Break modes. Table 18.2 lists the different modes each button is available in. |
|
|
|
|
| TABLE 18.2. THE THREE MODES AND THE AVAILABLE BUTTONS. | | Mode | Buttons available | | Designtime | Start | | Runtime | Break, End | | Break | Continue (when in Break mode, the Start button becomes the Continue button), End |
|
|
|
|
|
|
In addition to the mode buttons, Visual Basic provides a Debug toolbar (see Figure 18.4) that you can optionally display or you can use the Debug menu instead. |
|
|
|
|
|
|
|
|
Each of these functions are briefly described in Table 18.3. |
|
|
|
|
| TABLE 18.3. THE AVAILABLE DEBUGGING FUNCTIONS AND THEIR PURPOSES. | | Debugging Function | Purpose | | Breakpoint | Sets a line in the code where Visual Basic suspends execution of the application | | Step Into | Executes the next executable line of code in the application and steps into any procedure | | Step Over | Executes the next executable line of code in the application without stepping into any procedure |
|
|
|
|
|
|
(table continued on next page) |
|
|
|
|
|